<?php

namespace app\admin\controller;

use app\admin\middleware\CheckAdmin;
use app\BaseController;

class Index extends BaseController
{

    protected $middleware = [
        CheckAdmin::class,
    ];

    public $noNeedLogin = [];

    public function index()
    {
        return 'admin';
    }
}
